package com.wsz.user.service;

import com.wsz.pojo.R;
import com.wsz.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wsz.pojo.dto.PasswordDto;
import com.wsz.pojo.dto.RegisterUserDto;

/**
* @author wangs
* @description 针对表【user】的数据库操作Service
* @createDate 2023-01-19 13:58:58
*/
public interface UserService extends IService<User> {

    R register(RegisterUserDto registerUserDto);

    User getUserByUsername(String username);

    R updatePassword(PasswordDto passwordDto);

    R getUserList(Long page, Long limit);

    void updateEabled(String userId,Boolean enabled);

    Integer getRegisterCount(String date);

}
